package cn.windstudio;

public class Coordinate {
	public int X;
	public int Y;
	
	public Coordinate(){}
	public Coordinate(int x, int y){
		this.X = x;
		this.Y = y;
	}
	public Coordinate(Coordinate xy){
		this.X = xy.X;
		this.Y = xy.Y;
	}
	
	public void copy(Coordinate xy){
		this.X = xy.X;
		this.Y = xy.Y;
	}
	
	public boolean equal(Coordinate xy){
		if(this.X == xy.X && this.Y == xy.Y)
			return true;
		else return false;
	}

}
